package com.mybatis.study.config;

import java.util.HashMap;
import java.util.Map;

import com.mybatis.study.model.FieldAndType;

/**
 * 存放sql文件
 * @author hzhm0002
 *
 */
public class MapperStatement {
	private String namespace;
	private String sourceId;
	private String resultType;
	private String sql;
	private Map<String, FieldAndType> fieldToMap=new HashMap<String, FieldAndType>();

	public Map<String, FieldAndType> getFieldToMap() {
		return fieldToMap;
	}

	public void setFieldToMap(Map<String, FieldAndType> fieldToMap) {
		this.fieldToMap = fieldToMap;
	}

	public String getNamespace() {
		return namespace;
	}

	public void setNamespace(String namespace) {
		this.namespace = namespace;
	}

	public String getSourceId() {
		return sourceId;
	}

	public void setSourceId(String sourceId) {
		this.sourceId = sourceId;
	}


	public String getResultType() {
		return resultType;
	}

	public void setResultType(String resultType) {
		this.resultType = resultType;
	}

	public String getSql() {
		return sql;
	}

	public void setSql(String sql) {
		this.sql = sql;
	}

}
